package cn.hzc.fortess.system.dao;

import cn.hzc.fortess.system.entity.BizLog;
import cn.hzc.fortess.system.entity.LoginLog;
import cn.hzc.fortess.system.search.BizLogSearch;
import cn.hzc.fortess.system.search.LoginLogSearch;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LogDao {

    int saveLoginLog(LoginLog record);
    List<LoginLog> pageLoginLog(LoginLogSearch search);
    long countLoginLog(LoginLogSearch search);


    int saveBizLog(BizLog record);
    List<BizLog> pageBizLog(BizLogSearch search);
    long countBizLog(BizLogSearch search);
    BizLog findBizLogById(Long id);
    int deleteBizLog(Long id);
}